package com.bambooshoot.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.bambooshoot.domain.BizTravel;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 旅游目的地视图对象 biz_travel
 *
 * @author mxc
 * @date 2024-07-11
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = BizTravel.class)
public class BizTravelVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 名称
     */
    @ExcelProperty(value = "名称")
    private String name;

    /**
     * 开始时间
     */
    @ExcelProperty(value = "开始时间")
    @DateTimeFormat(value = "yyyy-MM-dd")
    private Date beginDate;

    /**
     * 结束时间
     */
    @ExcelProperty(value = "结束时间")
    @DateTimeFormat(value = "yyyy-MM-dd")
    private Date endDate;

    /**
     * 花费金额(元)
     */
    @ExcelProperty(value = "花费金额(元)")
    private BigDecimal amount;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
